package com.diver.flinkdemo.entity.Trd.yzhy.Dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 *
 * @Description:
 * @Author: zhangB
 * @Date: 2021/11/10 14:13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SetWhiteListDto extends YzhyBaseDto {

    @JsonProperty(value = "imei")
    private String imei;

    @JsonProperty(value = "item")
    private Object item;

    @JsonProperty(value = "appType")
    private int appType;

    @JsonProperty(value = "editable")
    private Boolean editable;

    @JsonProperty(value = "silentPeriod")
    private String[] silentPeriod;


    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public Object getItem() {
        return item;
    }

    public void setItem(Object item) {
        this.item = item;
    }

    public int getAppType() {
        return appType;
    }

    public void setAppType(int appType) {
        this.appType = appType;
    }

    public Boolean getEditable() {
        return editable;
    }

    public void setEditable(Boolean editable) {
        this.editable = editable;
    }

    public String[] getSilentPeriod() {
        return silentPeriod;
    }

    public void setSilentPeriod(String[] silentPeriod) {
        this.silentPeriod = silentPeriod;
    }



    @Override
    public String toString() {
        return "SetWhiteListDto{" +
                "imei='" + imei + '\'' +
                ", item=" + item +
                ", appType=" + appType +
                ", editable=" + editable +
                ", silentPeriod=" + Arrays.toString(silentPeriod) +
                ", manufactorId=" + super.getManufactorId() +
                ", token=" + super.getToken() +
                '}';
    }
}
